Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump @editorjs/editorjs from 2.26.5 to 2.28.2 #9024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 25, 2023

Bumps @editorjs/editorjs from 2.26.5 to 2.28.2.

Release notes

Sourced from @​editorjs/editorjs's releases.

v2.28.1

  • Fix — Some Block were be skipped on saving after pasting them as HTML

v2.28.0

New features

  • Block ids now displayed in DOM via a data-id attribute. Could be useful for plugins that want to access a Block's element by id.
  • Blocks API — The blocks.convert(blockId, newType) API method was added. It allows to convert existing Block to a Block of another type.
  • Blocks API — The blocks.insertMany() API method added. It allows to insert several Blocks to the specified index.

Improvements

  • UX — The Delete keydown at the end of the Block will now work opposite a Backspace at the start. Next Block will be removed (if empty) or merged with the current one.
  • UX — The Delete keydown will work like a Backspace when several Blocks are selected.
  • UX — If we have two empty Blocks, and press Backspace at the start of the second one, the previous will be removed instead of the current.
  • Shortcuts — Tools shortcuts could be used to convert one Block to another.
  • UI — Tools shortcuts displayed in the Conversion Toolbar
  • UI — Initialization Loader has been removed.
  • Styles — Selection style won't override your custom style for ::selection outside the editor.
  • Performance — Performance optimizations: initialization speed increased, blocks.render() API method optimized. Big documents will be displayed 8x faster.
  • DX — "Editor saving" log removed
  • DX — "I'm ready" log removed
  • UI — The stub-block style is simplified.
  • UI — If some Block's tool throws an error during construction, we will show Stub block instead of skipping it during render
  • onChange — Call of blocks.clear() now will trigger onChange with "block-removed" event for all removed blocks.
  • Blocks API — The blocks.clear() now can be awaited.
  • TypesBlockMutationType and BlockMutationEvent types exported
  • Blocks APIblocks.update(id, data) now can accept partial data object — it will update only passed properties, others will remain the same.
  • onChangeblocks.update(id, data) now will trigger onChange with only block-change event.
  • Blocks APIblocks.update(id, data) will return a promise with BlockAPI object of the changed block.

v2.28.0-rc.4

  • Improvement - The blocks.clear() now can be awaited.
  • Improvement - The blocks.render() won't lead onChange call

v2.28.0-rc.3

  • Improvement - BlockMutationType and BlockMutationEvent types exported
  • Improvement - blocks.update(id, data) now can accept partial data object — it will update only passed properties, others will remain the same.
  • Improvement - blocks.update(id, data) now will trigger onChange with only block-change event.
  • Improvement - blocks.update(id, data) will return a promise with the BlockAPI object of the changed block.

v2.28.0-rc.2

  • Improvement - Performance optimizations: initialization speed increased, blocks.render() API method optimized. Big documents will be displayed faster.
  • New - The blocks.insertMany() API method added. It allows to insert several Blocks to specified index.
  • Improvement - Initialization Loader has been removed.

... (truncated)

Changelog

Sourced from @​editorjs/editorjs's changelog.

2.28.2

  • Fix — Get rid of redundant logs from the build

2.28.1

  • Fix — Some Block were be skipped on saving after pasting them as HTML

2.28.0

  • New - Block ids now displayed in DOM via a data-id attribute. Could be useful for plugins that want to access a Block's element by id.
  • New - The blocks.convert(blockId, newType) API method was added. It allows to convert existing Block to a Block of another type.
  • New - The blocks.insertMany() API method added. It allows to insert several Blocks to the specified index.
  • Improvement - The Delete keydown at the end of the Block will now work opposite a Backspace at the start. Next Block will be removed (if empty) or merged with the current one.
  • Improvement - The Delete keydown will work like a Backspace when several Blocks are selected.
  • Improvement - If we have two empty Blocks, and press Backspace at the start of the second one, the previous will be removed instead of the current.
  • Improvement - Tools shortcuts could be used to convert one Block to another.
  • Improvement - Tools shortcuts displayed in the Conversion Toolbar
  • Improvement - Initialization Loader has been removed.
  • Improvement - Selection style won't override your custom style for ::selection outside the editor.
  • Improvement - Performance optimizations: initialization speed increased, blocks.render() API method optimized. Big documents will be displayed faster.
  • Improvement - "Editor saving" log removed
  • Improvement - "I'm ready" log removed
  • Improvement - The stub-block style is simplified.
  • Improvement - If some Block's tool throws an error during construction, we will show Stub block instead of skipping it during render
  • Improvement - Call of blocks.clear() now will trigger onChange with "block-removed" event for all removed blocks.
  • Improvement - The blocks.clear() now can be awaited.
  • Improvement - BlockMutationType and BlockMutationEvent types exported
  • Improvement - blocks.update(id, data) now can accept partial data object — it will update only passed properties, others will remain the same.
  • Improvement - blocks.update(id, data) now will trigger onChange with only block-change event.
  • Improvement - blocks.update(id, data) will return a promise with BlockAPI object of the changed block.

2.27.2

  • Fix - onChange won't be called when element with data-mutation-free changes some attribute

2.27.1

  • Fix - onChange will be called on removing the whole text in a block

2.27.0

  • NewToolbar API — Added a new method for toggling the toolbox.
  • New — Added types for block mutation events
  • New — Batching added to the onChange callback. Now the second argument can contain an array of CustomEvents as well as a single one. Multiple changes made in a short period of time will be batched under a single onChange call.
  • ImprovementToolbox — Number of close() method calls optimized.
  • Improvement — The onChange callback can be muted if all mutations contain nodes with the data-mutation-free attribute.
  • Improvement — Pressing "Enter" at the end of a Block won't lead to redundant block-changed event triggering. Only block-added event will be dispatched.
  • Improvement — The block mutation handler is now called on every block change (including background changes), instead of only when a block is focused

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@editorjs/editorjs](https://github.com/codex-team/editor.js) from 2.26.5 to 2.28.2.
- [Release notes](https://github.com/codex-team/editor.js/releases)
- [Changelog](https://github.com/codex-team/editor.js/blob/next/docs/CHANGELOG.md)
- [Commits](codex-team/editor.js@v2.26.5...v2.28.2)

---
updated-dependencies:
- dependency-name: "@editorjs/editorjs"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 25, 2023
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@DenysVuika DenysVuika closed this Oct 27, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 27, 2023

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/develop/editorjs/editorjs-2.28.2 branch October 27, 2023 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant